import { defineConfig } from 'vite'

import { resolve } from 'path'

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [],
    build: {
        outDir: '../dist/',
        sourcemap: true,
        rollupOptions: {
            input: {
                main: resolve(__dirname, 'index.html'),
            },
            external:['/static/web3d-ext.mjs']
        }
    },
    base: './',
});